package gui.table;

import models.DatabaseModel;

/**
 * Interface for filters to determine whether a certain Model object is allowed.
 *
 * @param <Model> type object of which it can be determined whether it is allowed.
 */
public interface Filter <Model extends DatabaseModel> {
	/**
	 * Determine whether the model is allowed.
	 * @param model
	 * @return allowed
	 */
	public boolean isAllowed(Model model);
}
